<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>

<title>GLM_GTX_color_cast: Color conversion</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo-mini.png"/></td>
  
  
  
   
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">GLM_GTX_color_cast: Color conversion</div>  </div>
<div class="ingroups"><a class="el" href="a00137.html">GTX Extensions (Experimental)</a></div></div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga1c37ab880548dafc96d9d722cd8340aa"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga1c37ab880548dafc96d9d722cd8340aa"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga1c37ab880548dafc96d9d722cd8340aa"><td class="memTemplItemLeft" align="right" valign="top">f16vec4&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga1c37ab880548dafc96d9d722cd8340aa">f16_abgr_cast</a> (T c)</td></tr>
<tr class="memitem:ga108db09da79d5a9c91f2cbd5f2b3f34c"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga108db09da79d5a9c91f2cbd5f2b3f34c"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga108db09da79d5a9c91f2cbd5f2b3f34c"><td class="memTemplItemLeft" align="right" valign="top">f16vec4&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga108db09da79d5a9c91f2cbd5f2b3f34c">f16_argb_cast</a> (T c)</td></tr>
<tr class="memitem:ga1367757d9f9f63837ec7f286211bfe93"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga1367757d9f9f63837ec7f286211bfe93"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga1367757d9f9f63837ec7f286211bfe93"><td class="memTemplItemLeft" align="right" valign="top">f16vec4&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga1367757d9f9f63837ec7f286211bfe93">f16_bgra_cast</a> (T c)</td></tr>
<tr class="memitem:ga5d0d73e114e2fc072f7e7fbabd72b511"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga5d0d73e114e2fc072f7e7fbabd72b511"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga5d0d73e114e2fc072f7e7fbabd72b511"><td class="memTemplItemLeft" align="right" valign="top">f16vec3&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga5d0d73e114e2fc072f7e7fbabd72b511">f16_bgrx_cast</a> (T c)</td></tr>
<tr class="memitem:gaaed10c22c6d3ae8400f6a27b95748bb9"><td class="memTemplParams" colspan="2"><a class="anchor" id="gaaed10c22c6d3ae8400f6a27b95748bb9"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:gaaed10c22c6d3ae8400f6a27b95748bb9"><td class="memTemplItemLeft" align="right" valign="top">f16&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#gaaed10c22c6d3ae8400f6a27b95748bb9">f16_channel_cast</a> (T a)</td></tr>
<tr class="memitem:gaa777898269e22a5061651ef973cf07b7"><td class="memTemplParams" colspan="2"><a class="anchor" id="gaa777898269e22a5061651ef973cf07b7"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:gaa777898269e22a5061651ef973cf07b7"><td class="memTemplItemLeft" align="right" valign="top">f16vec4&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#gaa777898269e22a5061651ef973cf07b7">f16_rgba_cast</a> (T c)</td></tr>
<tr class="memitem:gaf17e45ee1f5602b86df9f32c5c28234f"><td class="memTemplParams" colspan="2"><a class="anchor" id="gaf17e45ee1f5602b86df9f32c5c28234f"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:gaf17e45ee1f5602b86df9f32c5c28234f"><td class="memTemplItemLeft" align="right" valign="top">f16vec3&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#gaf17e45ee1f5602b86df9f32c5c28234f">f16_rgbx_cast</a> (T c)</td></tr>
<tr class="memitem:gafbeb919e45ff901eaec92a130cc82857"><td class="memTemplParams" colspan="2"><a class="anchor" id="gafbeb919e45ff901eaec92a130cc82857"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:gafbeb919e45ff901eaec92a130cc82857"><td class="memTemplItemLeft" align="right" valign="top">f16vec3&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#gafbeb919e45ff901eaec92a130cc82857">f16_xbgr_cast</a> (T c)</td></tr>
<tr class="memitem:gaa34ca9eb33fc570d84affe75970ad472"><td class="memTemplParams" colspan="2"><a class="anchor" id="gaa34ca9eb33fc570d84affe75970ad472"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:gaa34ca9eb33fc570d84affe75970ad472"><td class="memTemplItemLeft" align="right" valign="top">f16vec3&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#gaa34ca9eb33fc570d84affe75970ad472">f16_xrgb_cast</a> (T c)</td></tr>
<tr class="memitem:ga09b4c27c802a4b5d0e856cc93d16cf2a"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga09b4c27c802a4b5d0e856cc93d16cf2a"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga09b4c27c802a4b5d0e856cc93d16cf2a"><td class="memTemplItemLeft" align="right" valign="top">f32vec4&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga09b4c27c802a4b5d0e856cc93d16cf2a">f32_abgr_cast</a> (T c)</td></tr>
<tr class="memitem:ga1bb6ca4504a27fb918140e098735e023"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga1bb6ca4504a27fb918140e098735e023"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga1bb6ca4504a27fb918140e098735e023"><td class="memTemplItemLeft" align="right" valign="top">f32vec4&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga1bb6ca4504a27fb918140e098735e023">f32_argb_cast</a> (T c)</td></tr>
<tr class="memitem:gacaa5659ed88420e742b53557dc016e5d"><td class="memTemplParams" colspan="2"><a class="anchor" id="gacaa5659ed88420e742b53557dc016e5d"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:gacaa5659ed88420e742b53557dc016e5d"><td class="memTemplItemLeft" align="right" valign="top">f32vec4&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#gacaa5659ed88420e742b53557dc016e5d">f32_bgra_cast</a> (T c)</td></tr>
<tr class="memitem:ga87f58ff1eff38f6f64d37917f7c3d605"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga87f58ff1eff38f6f64d37917f7c3d605"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga87f58ff1eff38f6f64d37917f7c3d605"><td class="memTemplItemLeft" align="right" valign="top">f32vec3&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga87f58ff1eff38f6f64d37917f7c3d605">f32_bgrx_cast</a> (T c)</td></tr>
<tr class="memitem:ga450fce811cc485d4e5fbe915cdbb995f"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga450fce811cc485d4e5fbe915cdbb995f"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga450fce811cc485d4e5fbe915cdbb995f"><td class="memTemplItemLeft" align="right" valign="top">f32&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga450fce811cc485d4e5fbe915cdbb995f">f32_channel_cast</a> (T a)</td></tr>
<tr class="memitem:gade0903e79b1935818f3610169e784c28"><td class="memTemplParams" colspan="2"><a class="anchor" id="gade0903e79b1935818f3610169e784c28"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:gade0903e79b1935818f3610169e784c28"><td class="memTemplItemLeft" align="right" valign="top">f32vec4&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#gade0903e79b1935818f3610169e784c28">f32_rgba_cast</a> (T c)</td></tr>
<tr class="memitem:gaf3bdd33a9a652a8f398f3c22e12d808c"><td class="memTemplParams" colspan="2"><a class="anchor" id="gaf3bdd33a9a652a8f398f3c22e12d808c"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:gaf3bdd33a9a652a8f398f3c22e12d808c"><td class="memTemplItemLeft" align="right" valign="top">f32vec3&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#gaf3bdd33a9a652a8f398f3c22e12d808c">f32_rgbx_cast</a> (T c)</td></tr>
<tr class="memitem:gac6c5ba434022dd3da2ca35d1a9314be2"><td class="memTemplParams" colspan="2"><a class="anchor" id="gac6c5ba434022dd3da2ca35d1a9314be2"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:gac6c5ba434022dd3da2ca35d1a9314be2"><td class="memTemplItemLeft" align="right" valign="top">f32vec3&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#gac6c5ba434022dd3da2ca35d1a9314be2">f32_xbgr_cast</a> (T c)</td></tr>
<tr class="memitem:ga868c5082efaf50e0ca9824d9ff6b2ae6"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga868c5082efaf50e0ca9824d9ff6b2ae6"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga868c5082efaf50e0ca9824d9ff6b2ae6"><td class="memTemplItemLeft" align="right" valign="top">f32vec3&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga868c5082efaf50e0ca9824d9ff6b2ae6">f32_xrgb_cast</a> (T c)</td></tr>
<tr class="memitem:ga29317ef1aeea12967d230043b777c95e"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga29317ef1aeea12967d230043b777c95e"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga29317ef1aeea12967d230043b777c95e"><td class="memTemplItemLeft" align="right" valign="top">f64vec4&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga29317ef1aeea12967d230043b777c95e">f64_abgr_cast</a> (T c)</td></tr>
<tr class="memitem:ga3eada64cecd6911a234e7263956cea50"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga3eada64cecd6911a234e7263956cea50"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga3eada64cecd6911a234e7263956cea50"><td class="memTemplItemLeft" align="right" valign="top">f64vec4&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga3eada64cecd6911a234e7263956cea50">f64_argb_cast</a> (T c)</td></tr>
<tr class="memitem:ga19b9b07bc4b654fb5a464b52baed2b95"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga19b9b07bc4b654fb5a464b52baed2b95"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga19b9b07bc4b654fb5a464b52baed2b95"><td class="memTemplItemLeft" align="right" valign="top">f64vec4&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga19b9b07bc4b654fb5a464b52baed2b95">f64_bgra_cast</a> (T c)</td></tr>
<tr class="memitem:ga54480b66922c429da8d533e6970b1a71"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga54480b66922c429da8d533e6970b1a71"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga54480b66922c429da8d533e6970b1a71"><td class="memTemplItemLeft" align="right" valign="top">f64vec3&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga54480b66922c429da8d533e6970b1a71">f64_bgrx_cast</a> (T c)</td></tr>
<tr class="memitem:ga714d21da59a01f931e5007c089d9f91c"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga714d21da59a01f931e5007c089d9f91c"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga714d21da59a01f931e5007c089d9f91c"><td class="memTemplItemLeft" align="right" valign="top">f64&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga714d21da59a01f931e5007c089d9f91c">f64_channel_cast</a> (T a)</td></tr>
<tr class="memitem:gaa97be6d4369793feec9cd240306ea451"><td class="memTemplParams" colspan="2"><a class="anchor" id="gaa97be6d4369793feec9cd240306ea451"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:gaa97be6d4369793feec9cd240306ea451"><td class="memTemplItemLeft" align="right" valign="top">f64vec4&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#gaa97be6d4369793feec9cd240306ea451">f64_rgba_cast</a> (T c)</td></tr>
<tr class="memitem:ga5a8f7e68a814512e1496766b89512151"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga5a8f7e68a814512e1496766b89512151"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga5a8f7e68a814512e1496766b89512151"><td class="memTemplItemLeft" align="right" valign="top">f64vec3&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga5a8f7e68a814512e1496766b89512151">f64_rgbx_cast</a> (T c)</td></tr>
<tr class="memitem:ga6bd5ec6df79fc3b188e14e03084c8ebc"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga6bd5ec6df79fc3b188e14e03084c8ebc"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga6bd5ec6df79fc3b188e14e03084c8ebc"><td class="memTemplItemLeft" align="right" valign="top">f64vec3&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga6bd5ec6df79fc3b188e14e03084c8ebc">f64_xbgr_cast</a> (T c)</td></tr>
<tr class="memitem:ga8b28e89ee5043c947664ef46ef5cff12"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga8b28e89ee5043c947664ef46ef5cff12"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga8b28e89ee5043c947664ef46ef5cff12"><td class="memTemplItemLeft" align="right" valign="top">f64vec3&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga8b28e89ee5043c947664ef46ef5cff12">f64_xrgb_cast</a> (T c)</td></tr>
<tr class="memitem:ga49e636906dcf04bed0e149c71761fb0a"><td class="memTemplParams" colspan="2">template&lt;typename valType &gt; </td></tr>
<tr class="memitem:ga49e636906dcf04bed0e149c71761fb0a"><td class="memTemplItemLeft" align="right" valign="top">uint16&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga49e636906dcf04bed0e149c71761fb0a">u16channel_cast</a> (valType a)</td></tr>
<tr class="memitem:gaa928bde161bdf391317d96b20eb1a395"><td class="memTemplParams" colspan="2"><a class="anchor" id="gaa928bde161bdf391317d96b20eb1a395"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:gaa928bde161bdf391317d96b20eb1a395"><td class="memTemplItemLeft" align="right" valign="top">uint32&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#gaa928bde161bdf391317d96b20eb1a395">u32_abgr_cast</a> (const detail::tvec4&lt; T &gt; &amp;c)</td></tr>
<tr class="memitem:ga2c41583a6b660d7f70e7b078f7144aeb"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga2c41583a6b660d7f70e7b078f7144aeb"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga2c41583a6b660d7f70e7b078f7144aeb"><td class="memTemplItemLeft" align="right" valign="top">uint32&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga2c41583a6b660d7f70e7b078f7144aeb">u32_argb_cast</a> (const detail::tvec4&lt; T &gt; &amp;c)</td></tr>
<tr class="memitem:gac6b23c9c3dd2578dd77c8a23a9c77185"><td class="memTemplParams" colspan="2"><a class="anchor" id="gac6b23c9c3dd2578dd77c8a23a9c77185"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:gac6b23c9c3dd2578dd77c8a23a9c77185"><td class="memTemplItemLeft" align="right" valign="top">uint32&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#gac6b23c9c3dd2578dd77c8a23a9c77185">u32_bgra_cast</a> (const detail::tvec4&lt; T &gt; &amp;c)</td></tr>
<tr class="memitem:ga5169191468b1be24c2af1b679c9f4b3f"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga5169191468b1be24c2af1b679c9f4b3f"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga5169191468b1be24c2af1b679c9f4b3f"><td class="memTemplItemLeft" align="right" valign="top">uint32&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga5169191468b1be24c2af1b679c9f4b3f">u32_bgrx_cast</a> (const detail::tvec3&lt; T &gt; &amp;c)</td></tr>
<tr class="memitem:ga66026c23e16f6ceab8b99e2a844c7f05"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga66026c23e16f6ceab8b99e2a844c7f05"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga66026c23e16f6ceab8b99e2a844c7f05"><td class="memTemplItemLeft" align="right" valign="top">uint32&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga66026c23e16f6ceab8b99e2a844c7f05">u32_rgba_cast</a> (const detail::tvec4&lt; T &gt; &amp;c)</td></tr>
<tr class="memitem:gab660e32dbf9e1ecfad0613a3011c46fe"><td class="memTemplParams" colspan="2"><a class="anchor" id="gab660e32dbf9e1ecfad0613a3011c46fe"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:gab660e32dbf9e1ecfad0613a3011c46fe"><td class="memTemplItemLeft" align="right" valign="top">uint32&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#gab660e32dbf9e1ecfad0613a3011c46fe">u32_rgbx_cast</a> (const detail::tvec3&lt; T &gt; &amp;c)</td></tr>
<tr class="memitem:ga6a44ecd022166716b9fd00dfeb3688be"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga6a44ecd022166716b9fd00dfeb3688be"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga6a44ecd022166716b9fd00dfeb3688be"><td class="memTemplItemLeft" align="right" valign="top">uint32&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga6a44ecd022166716b9fd00dfeb3688be">u32_xbgr_cast</a> (const detail::tvec3&lt; T &gt; &amp;c)</td></tr>
<tr class="memitem:ga49b0fd47346b739d1732a26fc94edf87"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga49b0fd47346b739d1732a26fc94edf87"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga49b0fd47346b739d1732a26fc94edf87"><td class="memTemplItemLeft" align="right" valign="top">uint32&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga49b0fd47346b739d1732a26fc94edf87">u32_xrgb_cast</a> (const detail::tvec3&lt; T &gt; &amp;c)</td></tr>
<tr class="memitem:gad8850bb162df4df64541cae10e693642"><td class="memTemplParams" colspan="2"><a class="anchor" id="gad8850bb162df4df64541cae10e693642"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:gad8850bb162df4df64541cae10e693642"><td class="memTemplItemLeft" align="right" valign="top">uint64&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#gad8850bb162df4df64541cae10e693642">u64_abgr_cast</a> (const detail::tvec4&lt; T &gt; &amp;c)</td></tr>
<tr class="memitem:ga6f979d8e3e5435b048799ade4fe34275"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga6f979d8e3e5435b048799ade4fe34275"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga6f979d8e3e5435b048799ade4fe34275"><td class="memTemplItemLeft" align="right" valign="top">uint64&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga6f979d8e3e5435b048799ade4fe34275">u64_argb_cast</a> (const detail::tvec4&lt; T &gt; &amp;c)</td></tr>
<tr class="memitem:ga165b688bb6ecf2fb3e0aa87925815487"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga165b688bb6ecf2fb3e0aa87925815487"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga165b688bb6ecf2fb3e0aa87925815487"><td class="memTemplItemLeft" align="right" valign="top">uint64&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga165b688bb6ecf2fb3e0aa87925815487">u64_bgra_cast</a> (const detail::tvec4&lt; T &gt; &amp;c)</td></tr>
<tr class="memitem:gad75bc921ee693a306693d760536e9bb8"><td class="memTemplParams" colspan="2"><a class="anchor" id="gad75bc921ee693a306693d760536e9bb8"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:gad75bc921ee693a306693d760536e9bb8"><td class="memTemplItemLeft" align="right" valign="top">uint64&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#gad75bc921ee693a306693d760536e9bb8">u64_bgrx_cast</a> (const detail::tvec3&lt; T &gt; &amp;c)</td></tr>
<tr class="memitem:gaecab5d0a70ac7d721ab26b8592c836d8"><td class="memTemplParams" colspan="2"><a class="anchor" id="gaecab5d0a70ac7d721ab26b8592c836d8"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:gaecab5d0a70ac7d721ab26b8592c836d8"><td class="memTemplItemLeft" align="right" valign="top">uint64&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#gaecab5d0a70ac7d721ab26b8592c836d8">u64_rgba_cast</a> (const detail::tvec4&lt; T &gt; &amp;c)</td></tr>
<tr class="memitem:gacd63fce723a7a34b0432e323f9201171"><td class="memTemplParams" colspan="2"><a class="anchor" id="gacd63fce723a7a34b0432e323f9201171"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:gacd63fce723a7a34b0432e323f9201171"><td class="memTemplItemLeft" align="right" valign="top">uint64&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#gacd63fce723a7a34b0432e323f9201171">u64_rgbx_cast</a> (const detail::tvec3&lt; T &gt; &amp;c)</td></tr>
<tr class="memitem:gaa93895af1b887b39ad7f1980cc995a32"><td class="memTemplParams" colspan="2"><a class="anchor" id="gaa93895af1b887b39ad7f1980cc995a32"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:gaa93895af1b887b39ad7f1980cc995a32"><td class="memTemplItemLeft" align="right" valign="top">uint64&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#gaa93895af1b887b39ad7f1980cc995a32">u64_xbgr_cast</a> (const detail::tvec3&lt; T &gt; &amp;c)</td></tr>
<tr class="memitem:ga7a75746544ae028cc991152a4c0dc01a"><td class="memTemplParams" colspan="2"><a class="anchor" id="ga7a75746544ae028cc991152a4c0dc01a"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga7a75746544ae028cc991152a4c0dc01a"><td class="memTemplItemLeft" align="right" valign="top">uint64&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga7a75746544ae028cc991152a4c0dc01a">u64_xrgb_cast</a> (const detail::tvec3&lt; T &gt; &amp;c)</td></tr>
<tr class="memitem:ga65c8867c34193951a87cbe6ad3492119"><td class="memTemplParams" colspan="2">template&lt;typename valType &gt; </td></tr>
<tr class="memitem:ga65c8867c34193951a87cbe6ad3492119"><td class="memTemplItemLeft" align="right" valign="top">uint8&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00157.html#ga65c8867c34193951a87cbe6ad3492119">u8channel_cast</a> (valType a)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<p>Conversion between two color types. </p>
<p>&lt;<a class="el" href="a00012.html" title="OpenGL Mathematics (glm.g-truc.net)">glm/gtx/color_cast.hpp</a>&gt; need to be included to use these functionalities. </p>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="ga49e636906dcf04bed0e149c71761fb0a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16 glm::u16channel_cast </td>
          <td>(</td>
          <td class="paramtype">valType&#160;</td>
          <td class="paramname"><em>a</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Conversion of a floating value into a 16bit unsigned int value. </p>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="a00157.html" title="Conversion between two color types.">GLM_GTX_color_cast: Color conversion</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ga65c8867c34193951a87cbe6ad3492119"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8 glm::u8channel_cast </td>
          <td>(</td>
          <td class="paramtype">valType&#160;</td>
          <td class="paramname"><em>a</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Conversion of a floating value into a 8bit unsigned int value. </p>
<dl class="section see"><dt>See also:</dt><dd><a class="el" href="a00157.html" title="Conversion between two color types.">GLM_GTX_color_cast: Color conversion</a> </dd></dl>

</div>
</div>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.0
</small></address>

</body>
</html>
